Skip to content

Add Homelab OIDC login button + auto-provision org on first sign-in (#7)#8

Merged
ndemarco merged 1 commit intologo-integrationfrom
main
Apr 20, 2026
Merged

Add Homelab OIDC login button + auto-provision org on first sign-in (#7)#8
ndemarco merged 1 commit intologo-integrationfrom
main

Conversation

@ndemarco
Copy link
Copy Markdown
Owner

Login page: show "Sign in with Homelab IdP" button when all three AUTH_HOMELAB_* env vars are present. Force dynamic rendering so process.env is evaluated at request time, not baked in at build.

Auth config: signIn callback creates a default org + owner membership for any user who has no org yet, covering all providers (credentials, OIDC, dev-impersonate).

Login page: show "Sign in with Homelab IdP" button when all three
AUTH_HOMELAB_* env vars are present. Force dynamic rendering so
process.env is evaluated at request time, not baked in at build.

Auth config: signIn callback creates a default org + owner membership
for any user who has no org yet, covering all providers (credentials,
OIDC, dev-impersonate).

Co-authored-by: NickyDoes <nicky@nickydoes.com>
@ndemarco ndemarco merged commit 0e76aad into logo-integration Apr 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant